window.onload = function(){
  const search = document.querySelector('#search')
  const logo = document.querySelector('#logo')
  const searchInput = document.querySelector('#searchInput')
  let bool = true
  search.addEventListener('click',()=>{
    if (bool) {
      logo.classList.add('d-none')
      searchInput.classList.remove('d-none')
      bool = false
    }
    else{
      logo.classList.remove('d-none')
      searchInput.classList.add('d-none')
      bool = true
    }
  })
}